<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>API</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/float.js"></script>
<script type="text/javascript" src="js/api.js"></script>
<script type="text/javascript" src="js/ajaxupload.js"></script>
<style type="text/css">
#left{float:left;width:700px;}
#right{float:left;width:500px;background-color:#DEDEDE;padding:5px;margin-left:200px;}
#Result{overflow:scroll;height:500px;width:500px;word-wrap:break-word;}
</style>
</head>

<body>



<div id="left">

<h3><a href="?inc=index">公共API------>>>></a></h3>
<h3><a href="?inc=user">用户API------>>>></a></h3>


	<h2>usertoken(*require)</h2>
	<form id="token" method="post">
	usertoken<input name="token" id="usertoken" value=""> (请在登录接口获取,测试用户user:admin, pass:123123)<br>
	</form>
	<br/><br/>

	<?php
	$inc = (isset($_GET['inc']) && $_GET['inc'] != '') ? $_GET['inc'] : 'index';
	if(file_exists('inc.'.$inc.'.html')){
		require_once 'inc.'.$inc.'.html';
	}else{
		echo "error: file exits!";
	}
	?>

</div>

<div id="right">
	<h2>Result shows</h2>
	<p id="Result"></p>
</div>

</body>
</html>
